#include <stdio.h>
#include <stdlib.h>
main ()
{
    FILE *fp;
    char ch;
    int i,count;
    if((fp=fopen("/home/besti20155228/20155228代码备份/0930MyOd/hello.c","rb"))==NULL)
    {
        printf("文件打开失败！");
        exit(0);
    }
    count=0;
    while((ch=fgetc(fp))!=EOF)
    {
        if(isprint(ch))
        {
            count++;
            printf("%4c %4x ",ch,ch);
            if(count%8==0)
                printf("\n");
        }

    }
    fclose(fp);
    printf("\n");
    return 0;
}

